import { createAPI } from '@/utils/request'
export const getsubjectsList = data => createAPI('/subjects', 'get', data)
export const addsubject = data => createAPI('/subjects', 'post', data)
export const deletesubject = data => createAPI(`/subjects/${data.id}`, 'DELETE', data)
export const amendsubject = data => createAPI(`/subjects/${data.id}`, 'PUT', data)
